package com.ddwl.schema.vo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/10/26 15:11
 */
@Getter
@Setter
@ApiModel("帮砍记录vo")
public class BargainLogVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("砍价订单id")
    private String bargainOrderId;

    @ApiModelProperty("是否砍过的订单 0：否，1：是")
    private Integer chopped=0;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("砍掉多少金额")
    private BigDecimal choppedMoney;

    @ApiModelProperty("总共需要的人数")
    private Integer needChopNum;

    @ApiModelProperty("助力人数")
    private Integer chopNum;

    @ApiModelProperty("状态 0：砍价进行中，1：砍价成功，2：砍价失效,3:已经到底价可以购买")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

}
